/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package DBLayer;
import ModelLayer.*;
import java.util.ArrayList;
/**
 *
 * @author Stefan
 */
public interface IFDBCustomer
{
    // get all customer
    public ArrayList<Customer> getAllCustomer(boolean retriveAssociation);
    //get one customer having the ID
    public Customer findCustomer(int id, boolean retriveAssociation);
    //find one customer having the name
    public Customer searchCustomerName( String attValue, boolean retriveAssociation);
    //insert a new customer
    public int insertCustomer(Customer cus);
    //update information about a customer
    public int updateCustomer(Customer cus);
    //delete information about a customer
    public int deleteCustomer(int id);
}
